
* {
    padding: 0px;
    margin: 0px;
    font-size: 0px;
}
body {
    position: relative;
    background-color: rgb(86, 161, 90);
}
.rotationMapbox {
    position: relative;
    left: 0px;
    right: 0px;
    top: 50%;
    bottom: 50%;
    width: 520px;
    height: 280px;
    overflow: hidden;
    /* overflow-x: auto; */
    margin: 100px auto;
    
}
.rotationMapbox ul{
    background-color: aquamarine;
    width: 3640px;
    margin-left: -520px;
    transition: .5s all;
}
.rotationMapbox ul::after {
    display: block;
    content: "";
    clear: both;
}
.rotationMapbox ul li {
    float: left;
    list-style: none;
}
.rotationMapbox img {
    width: 520px;
    height: 280px;
}

/* 左右切换按钮背景共有样式 */
.leftSwitch,.rigthSwitch{
    position: absolute;
    top: 50%;
    width: 20px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.514);
    cursor: pointer;
    transform: translateY(-50%);
    display: none;
}
.leftSwitch {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
.rigthSwitch { 
    right: 0px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

/* 左右翻页按钮上的 < > 符号 */
.rotationMapbox:hover  .leftSwitch,
.rotationMapbox:hover  .rigthSwitch{
    display: block;
}
.leftSwitch::after,  .rigthSwitch::after{
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    width: 9px;
    height: 9px;
    border-top: 1px solid rgb(255, 255, 255);
    border-right: 1px solid rgb(255, 255, 255);
    transform-origin: center;
    transform: rotate(45deg);
}
.rigthSwitch::after {
    transform: rotate(-135deg);
    right: 0px;
}

/* 选页按钮的容器 */
.selectPageBtn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1px 2px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.445);
}
/* 选页按钮 */
.selectPageBtn > a {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: aliceblue;
    border-radius: 50%;
    margin: 3px;
}

/* 选页按钮被选中的状态 */
.selectPageBtn .selectPageBtnAct {
    background-color: #ff5000;
}